#include<stdio.h>

int strcmp3(char *s, char *t){
    for(; *t==*s;){
        if(! *t){
            return 0;
        }
        t++;s++;
    }
    return (*s - *t);
}

int strcmp2(char *s, char *t){
    for( ; *s++==*t++; ){
        if(!*s) {
            return 0;
        } 
    }
    return(*s-*t);
}

int main(){
    int a[]={1,5,10,15,20};
    int *p = a;
    printf("1. %d\n", *p);
    printf("2. %d\n", ++*p);
    printf("3. %d\n", *p++);
    printf("3.1. %d\n", *p);
    printf("4. %d\n", *(p++));
    printf("4.1. %d\n", *p);
    printf("5. %d\n", ++*p++);
    printf("6. %d\n", *p);
    p++;
    printf("7. %d\n", *p);
    p++;
    printf("8. %d\n", *p);
    
    char s[15];
    char t[15];
    int ret;
    
    strcpy(s, "abcdef");
    strcpy(t, "ABCDEF");
    printf("%d ", strcmp2(s, t));
    printf("%d\n", strcmp3(s, t));
    if("abcd" == "ab cd"){
        printf("yes");
    }else{
        printf("no");
    }
    return 0;
}